|
Workout With Friends
Stay fit with a little motivation
|
Base class for all weight related challenges. More...


Public Member Functions | |
| def | create |
| def | calculate_user_weight |
| How much weight this user needs to lift for this competition. | |
Public Member Functions inherited from wowf.models.challenge._Challenge | |
| def | id |
Static Public Attributes | |
| tuple | percentage = Column(Numeric(3, 2), nullable=False, doc='percentage of body weight') |
Base class for all weight related challenges.
Definition at line 145 of file challenge.py.
| def wowf.models.challenge.WeightChallenge.calculate_user_weight | ( | self, | |
| user | |||
| ) |
How much weight this user needs to lift for this competition.
Definition at line 157 of file challenge.py.
| def wowf.models.challenge.WeightChallenge.create | ( | cls, | |
| creator, | |||
| percentage | |||
| ) |
Definition at line 150 of file challenge.py.
|
static |
Definition at line 147 of file challenge.py.
1.8.1.2